import request from '@/utils/request'

// 查询分拣计划配置列表
export function listWcs_plan_config(query) {
  return request({
    url: '/wcs/wcs_plan_config/list',
    method: 'get',
    params: query
  })
}

// 查询分拣计划配置详细
export function getWcs_plan_config(id) {
  return request({
    url: '/wcs/wcs_plan_config/' + id,
    method: 'get'
  })
}

// 新增分拣计划配置
export function addWcs_plan_config(data) {
  return request({
    url: '/wcs/wcs_plan_config',
    method: 'post',
    data: data
  })
}

// 修改分拣计划配置
export function updateWcs_plan_config(data) {
  return request({
    url: '/wcs/wcs_plan_config',
    method: 'put',
    data: data
  })
}

// 删除分拣计划配置
export function delWcs_plan_config(id) {
  return request({
    url: '/wcs/wcs_plan_config/' + id,
    method: 'delete'
  })
}

// 导出分拣计划配置
export function exportWcs_plan_config(query) {
  return request({
    url: '/wcs/wcs_plan_config/export',
    method: 'get',
    params: query
  })
}